#include <iostream>
#include <gtest/gtest.h>

// TEST(test,great_then)
// {
//     int age = 20;
//     ASSERT_GT(age,20);
//     printf("OK\n");
// }

TEST(test,great_then)
{
    int age = 20;
    ASSERT_GT(age,18);
    printf("OK\n");
}

int main(int argc,char* argv[])
{
    testing::InitGoogleTest(&argc,argv);
    int ret = RUN_ALL_TESTS();
    std::cout<<"测试返回码ret:"<<ret<<std::endl;
    return 0;
}